home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d21 / dvglue10.arc / TVWFREE.C < prev    next >
C/C++ Source or Header  |  1988-08-13  |  1KB  |  28 lines

  1. /*================================================*/
  2. /* TVWFREE.C                                      */
  3. /*                                                */
  4. /* (c) Copyright 1988 Ralf Brown                  */
  5. /*     All Rights Reserved                        */
  6. /* May be freely copied for noncommercial use,    */
  7. /* provided that this copyright notice remains    */
  8. /* intact and any changes are indicated in the    */
  9. /* comment blocks preceding functions             */
  10. /*================================================*/
  11.  
  12. #include "tvapi.h"
  13.  
  14. /*================================================*/
  15. /* TVwin_free  remove window from screen and free */
  16. /*             handle                             */
  17. /*   Ralf Brown 4/3/88                            */
  18. /*   Ralf Brown 5/13/88 check for valid handle    */
  19. /*================================================*/
  20.  
  21. void pascal TVwin_free(OBJECT win)
  22. {
  23.    if (win == NIL || TVisobj(win))
  24.       TVsendmsg0(FREE_MSG, win?TOS:ME, win) ;
  25. }
  26.  
  27. /* End of TVWFREE.C */
  28.